import React, {useEffect} from 'react';
import {useDispatch} from "react-redux";

interface IHomeProps {
}

const Home: React.FC<IHomeProps> = props => {
    const dispatch = useDispatch()
    useEffect(() => {
    }, []);
    useEffect(() => {
    }, [dispatch]);
    return (
        <div>
            <h1>
                首页
            </h1>
        </div>
    );
};


// 连接组件并导出
export default Home;